package com.bdqn.pojo;
import java.util.Date;
public class Book {
  private int bid;
  private String bName;
  private String author;
  private String pubComp;
  private Date pubDate;
  private int bCount;
  private String price;

  public Book() {
  }

  public Book(int bid, String bName, String author, String pubComp, Date pubDate, int bCount, String price) {
    this.bid = bid;
    this.bName = bName;
    this.author = author;
    this.pubComp = pubComp;
    this.pubDate = pubDate;
    this.bCount = bCount;
    this.price = price;
  }

  public int getBid() {
    return bid;
  }

  public void setBid(int bid) {
    this.bid = bid;
  }

  public String getbName() {
    return bName;
  }

  public void setbName(String bName) {
    this.bName = bName;
  }

  public String getAuthor() {
    return author;
  }

  public void setAuthor(String author) {
    this.author = author;
  }

  public String getPubComp() {
    return pubComp;
  }

  public void setPubComp(String pubComp) {
    this.pubComp = pubComp;
  }

  public Date getPubDate() {
    return pubDate;
  }

  public void setPubDate(Date pubDate) {
    this.pubDate = pubDate;
  }

  public int getbCount() {
    return bCount;
  }

  public void setbCount(int bCount) {
    this.bCount = bCount;
  }

  public String getPrice() {
    return price;
  }

  public void setPrice(String price) {
    this.price = price;
  }

  @Override
  public String toString() {
    return "Book{" +
            "bid=" + bid +
            ", bName='" + bName + '\'' +
            ", author='" + author + '\'' +
            ", pubComp='" + pubComp + '\'' +
            ", pubDate=" + pubDate +
            ", bCount=" + bCount +
            ", price='" + price + '\'' +
            '}';
  }
}
